<?php

class TemplateHook
{
    public static function listen($tag, &$param = null, $extra = null, $once = false)
    {
        $result = \think\Hook::listen($tag, $param, $extra, $once);
        if (!empty($result)) return $result[0];
        else return "";
    }
}